import javax.servlet.http.HttpServletRequest;

import com.netflix.zuul.ZuulFilter;
import com.netflix.zuul.context.RequestContext
class PreFilter extends ZuulFilter{
	
	@Override
	Object run() {
		RequestContext ctx = RequestContext.getCurrentContext();
		HttpServletRequest request = ctx.getRequest();
		System.out.println("pre Filter ====");
		return null;
	}

	@Override
	boolean shouldFilter() {
		return true;
	}

	@Override
	int filterOrder() {
		return 1000;
	}

	@Override
	String filterType() {
		return "pre";
	}
	
}
